package com.millstein.realtime.common;

public class Constants {

    /**
     * 业务数据的主题，也是实时数仓中业务数据的ods层主题
     */
    public static final String TOPIC_DB = "topic_db";
    /**
     * 日志数据的主题，也是实时数仓中日志数据的ods层主题
     */
    public static final String TOPIC_LOG = "topic_log";
    /**
     * kafka服务器地址
     */
    public static final String KAFKA_SERVER = "hadoop102:9092,hadoop103:9092,hadoop104:9092";
    /**
     * 业务数据库名称
     */
    public static final String BUSINESS_DATABASE_NAME = "gmall";
    /**
     * phoenix的驱动类
     */
    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
    /**
     * phoenix的jdbc地址
     */
    public static final String PHOENIX_URL = "jdbc:phoenix:hadoop102,hadoop103,hadoop104:2181";

    /**
     * dwd层流量域之页面数据主题
     */
    public static final String TOPIC_DWD_TRAFFIC_PAGE = "dwd_traffic_page";
    /**
     * dwd层流量域之出错数据主题
     */
    public static final String TOPIC_DWD_TRAFFIC_ERROR = "dwd_traffic_err";
    /**
     * dwd层流量域之曝光数据主题
     */
    public static final String TOPIC_DWD_TRAFFIC_DISPLAY = "dwd_traffic_display";
    /**
     * dwd层流量域之操作数据主题
     */
    public static final String TOPIC_DWD_TRAFFIC_ACTION = "dwd_traffic_action";
    /**
     * dwd层流量域之启动数据主题
     */
    public static final String TOPIC_DWD_TRAFFIC_START = "dwd_traffic_start";
    /**
     * dwd层流量域之独立访客明细主题
     */
    public static final String TOPIC_DWD_TRAFFIC_UV_DETAIL = "dwd_traffic_uv_detail";
    /**
     * dwd层流量域之跳出明细主题
     */
    public static final String TOPIC_DWD_TRAFFIC_UJ_DETAIL = "dwd_traffic_uj_detail";
    /**
     * dwd层交易域之添加购物车记录主题
     */
    public static final String TOPIC_DWD_TRADE_CART_ADD = "dwd_trade_cart_add";
    /**
     * dwd层交易域之订单预处理记录主题
     */
    public static final String TOPIC_DWD_TRADE_ORDER_PRE_PROCESS = "dwd_trade_order_pre_process";
    /**
     * dwd层交易域之下单明细主题
     */
    public static final String TOPIC_DWD_TRADE_ORDER_DETAIL = "dwd_trade_order_detail";
    /**
     * dwd层交易域之取消下单明细主题
     */
    public static final String TOPIC_DWD_TRADE_CANCEL_DETAIL = "dwd_trade_cancel_detail";
    /**
     * dwd层交易域之支付成功明细主题
     */
    public static final String TOPIC_DWD_TRADE_PAY_DETAIL_SUC = "dwd_trade_pay_detail_suc";
    /**
     * dwd层交易域之退单明细主题
     */
    public static final String TOPIC_DWD_TRADE_ORDER_REFUND = "dwd_trade_order_refund";
    /**
     * dwd层工具域之优惠券使用明细主题
     */
    public static final String TOPIC_DWD_TOOL_COUPON_GET = "dwd_tool_coupon_get";
    /**
     * dwd层工具域之优惠券下单明细主题
     */
    public static final String TOPIC_DWD_TOOL_COUPON_ORDER = "dwd_tool_coupon_order";
    /**
     * dwd层工具域之优惠券支付明细主题
     */
    public static final String TOPIC_DWD_TOOL_COUPON_PAY = "dwd_tool_coupon_pay";
    /**
     * dwd层互动域之收藏商品明细主题
     */
    public static final String TOPIC_DWD_INTERACTION_FAVOR_ADD = "dwd_interaction_favor_add";
    /**
     * dwd层互动域之评论明细主题
     */
    public static final String TOPIC_DWD_INTERACTION_COMMENT = "dwd_interaction_comment";
    /**
     * dwd层用户域之用户注册明细主题
     */
    public static final String TOPIC_DWD_USER_REGISTER = "topic_dwd_user_register";
}
